<?php

namespace Lib\Annotations;

use Doctrine\Common\Annotations\Annotation;

/**
 * @Annotation
 * @Target({"CLASS", "METHOD"})
 */
class Route
{
    public $value;
    public $name;
    public $via;
    
    public function __construct()
    {
        $this->via = ['GET', 'POST'];
    }
}
